package com.ld.hpfs.dao;


import java.util.ArrayList;
import java.util.HashMap;

import org.springframework.stereotype.Repository;

@Repository
public interface UserRightsMapper {
	ArrayList<HashMap<String,Object>> getUserRightsList(HashMap<String,Object> param);
	ArrayList<HashMap<String,Object>> getUserRightsList1(HashMap<String,Object> param);
	int getUserRightsListCount(HashMap<String,Object> param);
	void insertUserRights(HashMap<String,Object> param);
	int checkUserName(HashMap<String, Object> param);
	void updateUserRights(HashMap<String,Object> param);
	void rePassword(HashMap<String,Object> param);
	void freeze(HashMap<String,Object> param);
	void unfreeze(HashMap<String,Object> param);
	void setPermission(HashMap<String,Object> param);
	ArrayList<HashMap<String,Object>> getCompanyList();
	ArrayList<HashMap<String,Object>> getRoleList();
	ArrayList<HashMap<String,Object>> getRoleList1();
	ArrayList<HashMap<String,Object>> getPermissionTreeList(HashMap<String,Object> param);
	boolean checkUserRole(HashMap<String,Object> param);
	String getUserCount(HashMap<String,Object> param);
	int getAbandonCount(HashMap<String, Object> param);
	void addAbandon(HashMap<String, Object> param);
}